package org.example;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.bind.annotation.RestController;

/**
 * Hello world!
 *
 */
@Configuration
@SpringBootApplication
@RestController
@MapperScan
public class App {

    public static void main(String[] args) {
        SpringApplication.run(App.class, args);
//        QueryChain.of(Hello.class).list().forEach(System.out::println);
//        QueryChain<Hello> of = QueryChain.of(Hello.class);
//        TableInfo info = TableInfoFactory.ofEntityClass(Hello.class);
//        System.out.println(info.getKeyColumns());
    }

}
